package com.dingding.facde.rentsale.enums;

/**
 * @Description:取消以租代购订单的枚举
 * @author fengshuonan
 * @date 2016年7月4日 下午3:27:01
 * @version 叮叮搭车
 * @since 2.3.0
 */
public enum CancelRentSaleOrderEnum {
	
	CANCEL_ORDER_SUCCESS(200,"取消成功"),
	USERID_IS_NULL(300,"用户id为空"),
	CANCEL_ORDER_FAIL(500,"取消失败"),
	ORDER_STATUS_EXCEPTION(501,"订单状态异常"),
	ORDER_NOT_EXISTED(502,"订单不存在");
	
	private int code;
	
	private String message;
	
	private CancelRentSaleOrderEnum(int code,String message){
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
}
